﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataAccess.Models
{
    public class Orders
    {
        #region MyRegion

        /////// <summary>
        /////// 订单创建时间
        /////// </summary>
        ////public DateTime? CreateDate { get; set; }

        /////// <summary>
        /////// 订单点击时间
        /////// </summary>
        ////public DateTime? ClickDate { get; set; }
        /////// <summary>
        /////// 商品信息
        /////// </summary>
        ////public string ProductDes { get; set; }
        /////// <summary>
        /////// 商品ID
        /////// </summary>
        ////public long ProductID { get; set; }
        /////// <summary>
        /////// 商家旺旺
        /////// </summary>
        ////public string ShopWW { get; set; }
        /////// <summary>
        /////// 商家店铺名称
        /////// </summary>
        ////public string ShopName { get; set; }
        /////// <summary>
        /////// 商品数量
        /////// </summary>
        ////public int ProductNum { get; set; }
        /////// <summary>
        /////// 商品价格
        /////// </summary>
        ////public double ProductPrice { get; set; }
        /////// <summary>
        /////// 订单状态
        /////// </summary>
        ////public string OrderStateDes { get; set; }
        /////// <summary>
        /////// 订单类型
        /////// </summary>
        ////public string OrderType { get; set; }
        /////// <summary>
        /////// 收入比例
        /////// </summary>
        ////public string IncomeRatio { get; set; }
        /////// <summary>
        /////// 分成比例
        /////// </summary>

        ////public string DividedIntoRatio { get; set; }
        /////// <summary>
        /////// 付款金额
        /////// </summary>
        ////public double PayPrice { get; set; }
        /////// <summary>
        /////// 效果预估
        /////// </summary>
        ////public double EffectPrediction { get; set; }
        /////// <summary>
        /////// 结算金额
        /////// </summary>
        ////public double SettlementPrice { get; set; }
        /////// <summary>
        /////// 预估收入
        /////// </summary>
        ////public double EstimatedRevenue { get; set; }
        /////// <summary>
        /////// 结算时间
        /////// </summary>
        ////public DateTime? SettlementDate { get; set; }
        /////// <summary>
        /////// 佣金比例
        /////// </summary>
        ////public string CommissionRate { get; set; }
        /////// <summary>
        /////// 佣金金额
        /////// </summary>
        ////public double CommissionPrice { get; set; }
        /////// <summary>
        /////// 补贴比例
        /////// </summary>
        ////public string SubsidyRate { get; set; }
        /////// <summary>
        /////// 补贴金额
        /////// </summary>
        ////public double SubsidyPrice { get; set; }
        /////// <summary>
        /////// 补贴类型
        /////// </summary>
        ////public string SubsidyType { get; set; }
        /////// <summary>
        /////// 成交平台
        /////// </summary>
        ////public string DealPlatform { get; set; }
        /////// <summary>
        /////// 第三方服务
        /////// </summary>
        ////public string ThirdService { get; set; }

        /////// <summary>
        /////// 订单编号
        /////// </summary>
        ////public string OrderID { get; set; }
        /////// <summary>
        /////// 分类名称
        /////// </summary>
        ////public string ClassName { get; set; }
        /////// <summary>
        /////// 来源媒体ID
        /////// </summary>
        ////public string SourceMediaID { get; set; }
        /////// <summary>
        /////// 来源媒体名称
        /////// </summary>
        ////public string SourceMediaName { get; set; }

        /////// <summary>
        /////// 广告位ID
        /////// </summary>
        ////public string AdvID { get; set; }
        /////// <summary>
        /////// 广告位名称
        /////// </summary>
        ////public string AdvName { get; set; }
        /////// <summary>
        /////// 商家ID
        /////// </summary>
        ////public int promoter_id { get; set; }

        /////// <summary>
        /////// 主键
        /////// </summary>
        ////[XYD.Framework.Key]
        ////public int Id { get; set; } 
        #endregion
        /// <summary>
        /// 主键
        /// </summary>
        [XYD.Framework.Key]
        public int Id { get; set; } 
        /// <summary>
        /// 订单创建时间
        /// </summary>
        public string CreateDate { get; set; }

        /// <summary>
        /// 订单点击时间
        /// </summary>
        public string ClickDate { get; set; }
        /// <summary>
        /// 商品信息
        /// </summary>
        public string ProductDes { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public string ProductID { get; set; }
        /// <summary>
        /// 商家店铺名称
        /// </summary>
        public string ShopName { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public int ProductNum { get; set; }
        /// <summary>
        /// 商品价格
        /// </summary>
        public double ProductPrice { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderStateDes { get; set; }
        /// <summary>
        /// 订单类型
        /// </summary>
        public string OrderType { get; set; }
        /// <summary>
        /// 收入比例
        /// </summary>
        public string IncomeRatio { get; set; }
        /// <summary>
        /// 分成比例
        /// </summary>

        public string DividedIntoRatio { get; set; }
        /// <summary>
        /// 付款金额
        /// </summary>
        public double PayPrice { get; set; }
        /// <summary>
        /// 效果预估
        /// </summary>
        public double EffectPrediction { get; set; }
        /// <summary>
        /// 结算金额
        /// </summary>
        public double SettlementPrice { get; set; }
        /// <summary>
        /// 预估收入
        /// </summary>
        public double EstimatedRevenue { get; set; }
        /// <summary>
        /// 结算时间
        /// </summary>
        public string SettlementDate { get; set; }
        /// <summary>
        /// 佣金比例
        /// </summary>
        public string CommissionRate { get; set; }
        /// <summary>
        /// 佣金金额
        /// </summary>
        public double CommissionPrice { get; set; }
        /// <summary>
        /// 补贴比例
        /// </summary>
        public string SubsidyRate { get; set; }
        /// <summary>
        /// 补贴金额
        /// </summary>
        public double SubsidyPrice { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderID { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string ClassName { get; set; }

        /// <summary>
        /// 来源媒体名称
        /// </summary>
        public string SourceMediaName { get; set; }

        /// <summary>
        /// 广告位ID
        /// </summary>
        public string AdvID { get; set; }
        /// <summary>
        /// 广告位名称
        /// </summary>
        public string AdvName { get; set; }
        /// <summary>
        /// 推广者ID
        /// </summary>
       // public int promoter_id { get; set; }

        /// <summary>
        /// 联盟账号ID
        /// </summary>
        public string AlimamaID { get; set; }

        /// <summary>
        /// 代理账号
        /// </summary>
        public string Au_Name { get; set; }

        /// <summary>
        /// 数据类型 0新增,1修改
        /// </summary>
       // public int DateType { get; set; }

        /// <summary>
        /// 订单批号
        /// </summary>
        public string BatchNumber { get; set; }
    }
}
